﻿@{
    Layout = "~/Views/Shared/_BaseLayout.cshtml";
}

<div class="sub-box">
        <div class="area">
             <link rel="stylesheet" href="/scripts/ui/skins/Aqua/css/ligerui-all.css" />

            <link rel="stylesheet" href="/css/validate.css">
            <script type="text/javascript" src="/scripts/jquery/jquery.form.js"></script>
            <script type="text/javascript" src="/scripts/jquery/jquery.validate.min.js"></script>
            <script type="text/javascript" src="/scripts/jquery/messages_cn.js"></script>
            <script type="text/javascript" src="/scripts/ui/js/ligerBuild.min.js"></script>

            <script type="text/javascript" src="/templates/speciality/js/register_validate.js"></script>
            <form id="regform" name="regform" url="/Home/Register">
            <div class="m-register">
                <h2>
                    欢迎注册</h2>
                <div class="f-register">
                    <div class="u-title">
                        用户注册</div>
                    <div class="u-con clear">
                        <div class="left f-regForm">
                            <dl class="u-dlPadding">
                                <dt><span>*</span>用户名：</dt>
                                <dd><span class="u-border"><input id="txtUserName" name="Account" class="input text wide" type="text" style="color: #999;" validateurl="/home/ExitsName">
                                    <i class="i-name"></i></span><span class="u-ts" style="display: none;">用户名可包含英文、数字、下划线。</span></dd></dl>
                            <dl class="u-dlPadding">
                                <dt><span>*</span>请设置密码：</dt>
                                <dd><span class="u-border"><input id="txtPassword" name="Pwd" class="input text wide required" type="password" minlength="6" maxlength="50"><i class="i-pass"></i></span>
                                        <span class="u-ts u-tsPass" style="display: none;">6-20位字符，可使用字母、数字或符号的组合，不建议使用纯数字，纯字母，纯符号</span></dd></dl>
                            <dl class="u-dlPadding">
                                <dt><span>*</span>请确认密码：</dt>
                                <dd><span class="u-border"><input id="txtPassword1" name="CPwd" class="input text wide required" type="password" equalto="#txtPassword" minlength="6" maxlength="50"><i class="i-pass"></i></span><span class="u-ts" style="display: none;">请再次输入密码</span></dd></dl>
                            <dl class="u-dlPadding">
                                <dt><span>*</span>邮箱：</dt>
                                <dd><span class="u-border"><input id="txtEmail" name="Email" class="input text wide required email" type="text" maxlength="100"></span>
                                    <span class="u-ts" style="display: none;">输入常用邮箱,用于找回密码。</span></dd></dl>
                            <dl class="u-dlPadding">
                                <dt><span>*</span>验证码：</dt>
                                <dd><span class="u-border u-yzBorder"><input id="txtCode" name="ValidCode" class="input text small required" type="text" maxlength="50" style="ime-mode: disabled;
                                    text-transform: uppercase;">
									
                                    <span class="u-tsYz"><a id="verifyCode" href="javascript:;" onclick="ToggleCode(this, '/ValidateCodes/Create');return false;">
                                    <img src="/ValidateCodes/Create" width="80" align="absmiddle" height="22"> 看不清楚？</a></span>
									</span></dd></dl>
                            <dl>
                                <dt></dt>
                                <dd>
                                    <input type="checkbox" class="u-check" id="chkAgree" name="chkAgree" value="1"><label for="chkAgree">我已阅读并同意<a href="javascript:;" onclick="showWindow('regrules');" class="u-agree">《惠圆用户注册协议》</a></label></dd></dl>
                                    <div id="regrules" title="注册许可协议" style="display:none;">1、在本站注册的会员，必须遵守《互联网电子公告服务管理规定》，不得在本站发表诽谤他人，侵犯他人隐私，侵犯他人知识产权，传播病毒，政治言论，商业讯息等信息。<br>
2、在所有在本站发表的文章，本站都具有最终编辑权，并且保留用于印刷或向第三方发表的权利，如果你的资料不齐全，我们将有权不作任何通知使用你在本站发布的作品。
3、在登记过程中，您将选择注册名和密码。注册名的选择应遵守法律法规及社会公德。您必须对您的密码保密，您将对您注册名和密码下发生的所有活动承担责任。</div>
                            <dl>
                                <dt></dt>
                                <dd>
                                    
                                    <input id="btnSubmit" name="btnSubmit" type="submit" class="u-btn" value="立即注册" disabled="disabled">
                                    
                                </dd>
                            </dl>
                        </div>
                        <!--f-regForm-->
                        <div class="right f-regImg">
                            <div class="text-reg">
                                <p class="p1" style="font-size:15px; height:30px; line-height:30px;">如果您已经注册惠圆账号</p>
                                <p class="p3" style="font-size:15px; height:30px; line-height:30px;"><a class="u-btn-2" href="/Home/Login">立即登录</a></p>
                            </div>
                        </div>
                    </div>
                    <!--u-con-->
                </div>
                <!--f-register-->
				
        		<script type="text/javascript">
        		    $('.f-regForm .u-ts').hide();
        		    $('.f-regForm input').each(function (index, element) {
        		        $(this).focus(function () {
        		            if ($(this).parent('.u-border').parent('dd').find('.error').length > 0) { return false; }
        		            $(this).parent('.u-border').parent('dd').find('.u-ts').show();
        		        });
        		        $(this).blur(function () {
        		            $(this).parent('.u-border').parent('dd').find('.u-ts').hide();
        		        });
        		    });
                </script>
            </div>
            </form>
            
                            </div>
                        </div>